package com.mc.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mc.common.annotation.Excel;
import com.mc.common.core.domain.BaseEntity;

/**
 * app版本信息 对象 sys_app_version
 *
 * @author mc
 * @date 2021-04-14
 */
public class SysAppVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 各产品APP_ID */
    @Excel(name = "各产品APP_ID")
    private String appId;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 各产品APP_名称 */
    @Excel(name = "各产品APP_名称")
    private String appName;

    /** 版本号 */
    @Excel(name = "版本号")
    private String versioncode;

    /** 版本name */
    @Excel(name = "版本name")
    private String versionname;

    /** 下载url */
    @Excel(name = "下载url")
    private String downloadUrl;

    /** 升级日志 */
    @Excel(name = "升级日志")
    private String updateLog;

    /** 是否强制安装 */
    @Excel(name = "是否强制安装")
    private String updateInstall;

    public void setAppId(String appId)
    {
        this.appId = appId;
    }

    public String getAppId()
    {
        return appId;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy)
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy()
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }
    public void setAppName(String appName)
    {
        this.appName = appName;
    }

    public String getAppName()
    {
        return appName;
    }
    public void setVersioncode(String versioncode)
    {
        this.versioncode = versioncode;
    }

    public String getVersioncode()
    {
        return versioncode;
    }
    public void setVersionname(String versionname)
    {
        this.versionname = versionname;
    }

    public String getVersionname()
    {
        return versionname;
    }
    public void setDownloadUrl(String downloadUrl)
    {
        this.downloadUrl = downloadUrl;
    }

    public String getDownloadUrl()
    {
        return downloadUrl;
    }
    public void setUpdateLog(String updateLog)
    {
        this.updateLog = updateLog;
    }

    public String getUpdateLog()
    {
        return updateLog;
    }
    public void setUpdateInstall(String updateInstall)
    {
        this.updateInstall = updateInstall;
    }

    public String getUpdateInstall()
    {
        return updateInstall;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("appId", getAppId())
                .append("createdBy", getCreatedBy())
                .append("createdTime", getCreatedTime())
                .append("updatedBy", getUpdatedBy())
                .append("updatedTime", getUpdatedTime())
                .append("appName", getAppName())
                .append("versioncode", getVersioncode())
                .append("versionname", getVersionname())
                .append("downloadUrl", getDownloadUrl())
                .append("updateLog", getUpdateLog())
                .append("updateTime", getUpdateTime())
                .append("updateInstall", getUpdateInstall())
                .toString();
    }
}